import { createApp } from 'vue'
import App from './App.vue'
import 'normalize.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

import './assets/reset.scss'
import './assets/common.scss'
import './assets/iconfont.css'

import router from './router'
import pinia from './pinai'

const app = createApp(App)
// 注册element ui图标
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
app.use(router)
app.use(pinia)
app.mount('#app')
